package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 联系方式 ：empty90911@126.com
 * 描述：圣代_权限。
 *
 */
@Entity(value="SundayPermission", noClassnameStored=true)
public class SundayPermission extends BaseMongoEntity {
    private Long memberId;//用户Id
    private Long otherId ;//其他实体ID。
    private Integer type;//1商品，2分类。

    public SundayPermission() {
    }

    public SundayPermission(Long memberId, Long otherId, Integer type) {
        this.memberId = memberId;
        this.otherId = otherId;
        this.type = type;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getOtherId() {
        return otherId;
    }

    public void setOtherId(Long otherId) {
        this.otherId = otherId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
